package com.jy.rhin.model;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.body.huizhen.HuiZhenYJ;
import com.jy.rhin.model.body.huizhen.HuiZhenYY;
import com.jy.rhin.model.header.LegalAuthenticator;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class HuiZhenJL extends ClinicalDocumentData {

    //文档唯一id
    @XPath(path = "/id/@extension"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE01_00_008_00))
    String id;

    @XPath(path = "/component/structuredBody/component/section/code[@code='DE06.00.039.00'][@codeSystem='2.16.156.10011.2.2.1']/../..")
    HuiZhenYY huiZhenYY;

    @XPath(path = "/component/structuredBody/component/section/code[@code='DE06.00.038.00'][@codeSystem='2.16.156.10011.2.2.1']/../..")
    HuiZhenYJ huiZhenYJ;

    @XPath(path = "/legalAuthenticator")
    LegalAuthenticator legalAuthenticator;
}